-
Home
-
YayPricing – WooCommerce Dynamic Pricing & Discounts
-
3.5
-
Code
-
Classes
- YAYDP_Cart
Total Complexity |
67 |
Dependencies |
3 |
Dependents |
33 |
Total lines |
368 |
Lines of code |
263 |
Logical lines of code |
134 |
Comment lines |
72 |
Methods |
15 |
Properties |
1 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
publish() |
A |
38 |
13 |
72 |
get_coupon_rules() |
A |
51 |
9 |
28 |
get_cart_subtotal() |
S |
53 |
7 |
22 |
get_cart_total() |
S |
53 |
7 |
22 |
get_cart_origin_total() |
S |
54 |
6 |
22 |
__construct() |
S |
58 |
5 |
15 |
add_item() |
S |
54 |
4 |
22 |
add_free_item() |
S |
55 |
3 |
19 |
get_cart_quantity() |
S |
64 |
3 |
10 |
has_product_discounts() |
S |
66 |
3 |
9 |
reset_modifiers() |
S |
74 |
2 |
5 |
has_discounts() |
S |
79 |
2 |
3 |
get_items() |
S |
69 |
1 |
8 |
get_items_include_extra() |
S |
82 |
1 |
3 |
has_cart_discounts() |
S |
80 |
1 |
3 |